﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001017 RID: 4119
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournFormulaResult : IMessage<RogueTournFormulaResult>, IMessage, IEquatable<RogueTournFormulaResult>, IDeepCloneable<RogueTournFormulaResult>, IBufferMessage
	{
		// Token: 0x17003417 RID: 13335
		// (get) Token: 0x0600B845 RID: 47173 RVA: 0x001F12CC File Offset: 0x001EF4CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournFormulaResult> Parser
		{
			get
			{
				return RogueTournFormulaResult._parser;
			}
		}

		// Token: 0x17003418 RID: 13336
		// (get) Token: 0x0600B846 RID: 47174 RVA: 0x001F12D3 File Offset: 0x001EF4D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournFormulaResultReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003419 RID: 13337
		// (get) Token: 0x0600B847 RID: 47175 RVA: 0x001F12E5 File Offset: 0x001EF4E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournFormulaResult.Descriptor;
			}
		}

		// Token: 0x0600B848 RID: 47176 RVA: 0x001F12EC File Offset: 0x001EF4EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournFormulaResult()
		{
		}

		// Token: 0x0600B849 RID: 47177 RVA: 0x001F12F4 File Offset: 0x001EF4F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournFormulaResult(RogueTournFormulaResult other) : this()
		{
			this.tournFormulaId_ = other.tournFormulaId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B84A RID: 47178 RVA: 0x001F1319 File Offset: 0x001EF519
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournFormulaResult Clone()
		{
			return new RogueTournFormulaResult(this);
		}

		// Token: 0x1700341A RID: 13338
		// (get) Token: 0x0600B84B RID: 47179 RVA: 0x001F1321 File Offset: 0x001EF521
		// (set) Token: 0x0600B84C RID: 47180 RVA: 0x001F1329 File Offset: 0x001EF529
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TournFormulaId
		{
			get
			{
				return this.tournFormulaId_;
			}
			set
			{
				this.tournFormulaId_ = value;
			}
		}

		// Token: 0x0600B84D RID: 47181 RVA: 0x001F1332 File Offset: 0x001EF532
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournFormulaResult);
		}

		// Token: 0x0600B84E RID: 47182 RVA: 0x001F1340 File Offset: 0x001EF540
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournFormulaResult other)
		{
			return other != null && (other == this || (this.TournFormulaId == other.TournFormulaId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B84F RID: 47183 RVA: 0x001F1370 File Offset: 0x001EF570
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.TournFormulaId != 0U)
			{
				num ^= this.TournFormulaId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B850 RID: 47184 RVA: 0x001F13AF File Offset: 0x001EF5AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B851 RID: 47185 RVA: 0x001F13B7 File Offset: 0x001EF5B7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B852 RID: 47186 RVA: 0x001F13C0 File Offset: 0x001EF5C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.TournFormulaId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.TournFormulaId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B853 RID: 47187 RVA: 0x001F13F4 File Offset: 0x001EF5F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.TournFormulaId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TournFormulaId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B854 RID: 47188 RVA: 0x001F1432 File Offset: 0x001EF632
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournFormulaResult other)
		{
			if (other == null)
			{
				return;
			}
			if (other.TournFormulaId != 0U)
			{
				this.TournFormulaId = other.TournFormulaId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B855 RID: 47189 RVA: 0x001F1463 File Offset: 0x001EF663
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B856 RID: 47190 RVA: 0x001F146C File Offset: 0x001EF66C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.TournFormulaId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004A56 RID: 19030
		private static readonly MessageParser<RogueTournFormulaResult> _parser = new MessageParser<RogueTournFormulaResult>(() => new RogueTournFormulaResult());

		// Token: 0x04004A57 RID: 19031
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004A58 RID: 19032
		public const int TournFormulaIdFieldNumber = 11;

		// Token: 0x04004A59 RID: 19033
		private uint tournFormulaId_;
	}
}
